Skip to content

ci: add pnpm build gate on develop/main PRs#33

Merged
amedinat merged 1 commit into
developfrom
ci/build-gate
Jun 7, 2026
Merged

ci: add pnpm build gate on develop/main PRs#33
amedinat merged 1 commit into
developfrom
ci/build-gate

Conversation

@amedinat

@amedinat amedinat commented Jun 7, 2026

Copy link
Copy Markdown
Owner

What

Adds .github/workflows/build.yml — a Build gate running pnpm build on push/PR to develop and main.

Why

next build runs the TypeScript type-check, so this gate catches incomplete provider integrations (PROVIDER_META / by_provider not wired) that break the tsc build — the recurring incident that has repeatedly blocked main merges.

Investigation result (the original Otto task)

pnpm build requires NO build-time env vars. Verified in a hermetic run (env -i, no .env files on disk, CI=true):

EXIT=0
✓ Compiled successfully
Running TypeScript ... Finished TypeScript ✓

All app env access is lazy (inside route handlers / functions, e.g. src/lib/crypto.ts, src/lib/payments.ts, src/lib/paddle/server.ts), so nothing throws at module-load / build time. No GitHub Actions secrets need to be configured for this gate to pass.

🤖 Generated with Claude Code

Adds a Build gate workflow running `pnpm build` on push/PR to develop and
main. `next build` performs the TypeScript type-check, so this catches
incomplete provider integrations (PROVIDER_META / by_provider not wired)
that break the tsc build — the recurring incident blocking main merges.

Investigation: `pnpm build` requires NO build-time env vars. Verified in a
hermetic run (env -i, no .env files, CI=true): EXIT=0, TypeScript step
passes. App env access is lazy (inside route handlers/functions), so no
secrets need to be configured in GitHub Actions for this gate.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
llmeter Ready Ready Preview, Comment Jun 7, 2026 4:30am

@amedinat amedinat merged commit 5c56ba0 into develop Jun 7, 2026
3 checks passed
@amedinat amedinat deleted the ci/build-gate branch June 7, 2026 04:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant